<?php 
	include '../config.php';
    $link = mysql_connect(HOST,DBUSER,DBPASS) or die('数据库连接失败');
    mysql_select_db(DBNAME,$link);
    mysql_set_charset('utf8');
    $sql = "DELETE FROM t_news WHERE id=".$_GET['id'];
    mysql_query($sql);
    mysql_close($link);
   // header('Location:./managevisa.php');
   echo "<script> window.location.href='newsList.php'</script>";
   
  ?>